﻿<html>

    <head>
		<meta http-equiv="Content-Type" content="text/html"; charset=UTF-8" />
        <meta name="layout" content="main" />
		<resource:carousel />
		<title>EJC - Par&oacute;quia S&atilde;o Crist&oacute;v&atilde;o</title>
		
        <style type="text/css" media="screen">
			.links {
				text-align: center;
			}
			
			.imagem {
				padding: 50px;
			}
        </style>
    </head>
	
    <body>
		<div id="pageBody">
			<div>
				<richui:carousel direction="vertical" itemsStyle="height: 450px;">
						<richui:carouselItem> <g:link controller="app" action="sobrenos.gsp"><img src="${resource(dir:'images',file:'quemsomos.png')}" /></g:link> </richui:carouselItem>
					
					<g:if test="${session.user}">
						<richui:carouselItem> <g:link controller="encontro" action="list"><img src="${resource(dir:'images',file:'encontros.png')}" /></g:link> <br/></richui:carouselItem>
						<richui:carouselItem> <g:link controller="usuario" action="list"><img src="${resource(dir:'images',file:'usuarios.png')}" /></g:link> </richui:carouselItem>
					</g:if>
					
						<richui:carouselItem> <g:link controller="evento" action="list"><img src="${resource(dir:'images',file:'eventos.png')}" /></g:link> </richui:carouselItem>
					
					<g:if test="${session.user?.j5Atual}">
						<richui:carouselItem> <g:link controller="ata" action="list"><img src="${resource(dir:'images',file:'atas.png')}" /></g:link> </richui:carouselItem>
						<richui:carouselItem> <g:link controller="oficio" action="list"><img src="${resource(dir:'images',file:'oficios.png')}" /></g:link> </richui:carouselItem>
					</g:if>
					
						<richui:carouselItem> <g:link controller="noticia" action="list"><img src="${resource(dir:'images',file:'noticias.png')}" /></g:link> </richui:carouselItem>
					
					<g:if test="${session.user?.j5Atual}">
						<richui:carouselItem> <g:link controller="reflexao" action="list"><img src="${resource(dir:'images',file:'reflexoes.png')}" /></g:link> </richui:carouselItem>
					</g:if>
					
				</richui:carousel>
			</div>
			<div>
				<g:link controller="app" action="login"><img src="${resource(dir:'images',file:'acessorestrito.png')}" /></g:link>
			</div>
		</div>
		
    </body>
</html>